<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Preparing to Debug</title>
</head>
<body>
<h1> Preparing to Debug </h1>
<p> You can make your programs easier to debug by following these guidelines: </p>
<ul>
  <li> Where possible, do not put multiple statements on a single line, because some debugger features operate on a line basis. For example, you cannot step over or set line
    breakpoints on more than one statement on the same line. </li>
  <li> Attach source code to JAR files if you have the source code. </li>
</ul>
<h3 class="related">Related Concepts</h3>
  <a href="../concepts/cdebugger.htm">Debugger</a><br>
  <a href="../concepts/cremdbug.htm">Remote debugging</a><br>
  <a href="../concepts/clocdbug.htm">Local debugging</a>
<h3 class="related">Related Tasks</h3>
  <a href="../tasks/tasks-9.htm">Changing debugger launch options</a><br>
  <a href="task-running_and_debugging.htm">Running and debugging</a>
<h3 class="related">Related References</h3>
  <a href="../reference/preferences/run-debug/ref-run_debug.htm">Debug preferences</a><br>
  <a href="../reference/views/debug/ref-debug_view.htm">Debug view</a><br>
  <a href="../reference/menus/run/ref-menu-run.htm">Run Menu </a>
</body>
</html>
